import request from '@/utils/request'

// 园区列表
export const parkPageList = (params) => {
  return request({
    method: 'get',
    url: '/system/park/list',
    params: params,
  })
}
// 新增园区
export const parkAdd = (params) => {
  return request({
    method: 'post',
    url: '/system/park/add',
    data: params,
  })
}
// 更新园区
export const parkUpdate = (params) => {
  return request({
    method: 'put',
    url: `/system/park/update`,
    data: params,
  })
}
// 删除园区
export const parkDelete = (params) => {
  return request({
    method: 'delete',
    url: '/system/park/delete',
    params: params,
  })
}
// 园区详情
export const parkDetail = (params) => {
  return request({
    method: 'get',
    url: '/system/park/get',
    params: params,
  })
}
// 删除土地
export const landDelete = (params) => {
  return request({
    method: 'delete',
    url: '/system/mapRegion/delete',
    params: params,
  })
}
// 土地列表
export const landPageList = (params) => {
  return request({
    method: 'get',
    url: '/system/mapRegion/list',
    params: params,
  })
}
